package com.example.springbootmybatis.dao;

import com.example.springbootmybatis.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Authther: mrwu
 * @date:2021/3/26-03
 * @Description:com.example.springbootmybatis.dao
 */
@Mapper
public interface UserDao {
    @Select("select * from user")
    List<User> getUser();
}
